#ifndef LOG_DECODER_H
#define LOG_DECODER_H


#include <QtCore/QHash>
#include <QtCore/QVariant>
#include "global.h"
#include "logmanager/log_global.h"
#include "logdecoder/log_decoded_message.h"

namespace smsrouter {

class LogDecoderPrivate;

typedef QHash<int, QVariant> LogMsgParams;

class LogDecoder {
public:
  LogDecoder();

  ~LogDecoder();

  void decode(binaryrpc::ServerMessage *message);

private:

  friend class LogDecoderPrivate;

  LogDecoderPrivate *p;
};

} // namespace smsrouter

#endif // LOG_DECODER_H
